/* 模块管理 */
import {
    createAction,
  } from 'redux-actions'
  import {
    moduleManage,
  } from 'api'
  import {
    createAjaxAction,
  } from 'utils'
  
  
  //广告列表数据
  export const adList = createAjaxAction(
    moduleManage.adSetList,
  )
    //广告列表基础数据
    export const setAdQueryInfo = createAjaxAction(
        moduleManage.setAdQuery,
    )
    //广告列表基础数据
      export const setAdOkFetch = createAjaxAction(
        moduleManage.setAdOk,
    )
    
  //模块管理-优先排序-基础数据
  export const prioritySelect = createAjaxAction(
    moduleManage.prioritySelectList,
  )

  //模块管理-优先列表-列表基础数据查询
  export const priorityType = createAjaxAction(
    moduleManage.priorityTypeList,
  )

  //模块管理-优先列表-删除
  export const priorityDelete = createAjaxAction(
    moduleManage.priorityDeleteList,
  )
  //模块管理-设置优先内容-搜索内容
  export const searcTitleQuery = createAjaxAction(
    moduleManage.searcTitleQueryList,
  )
  //模块管理-设置优先内容-添加
  export const addPriorityType = createAjaxAction(
    moduleManage.addPriorityTypeList,
  )
  //模块管理-设置优先内容-查询需要排序的数据
  export const searcSortSelect = createAjaxAction(
    moduleManage.searcSortSelectList,
  )
  //模块管理-设置优先内容-删除已添加内容
  export const deleteSort = createAjaxAction(
    moduleManage.deleteSortList,
  )
  //模块管理-设置优先内容-置顶
  export const topSortSelect = createAjaxAction(
    moduleManage.topSortSelectList,
  )